package com.itheima.service;

import com.github.pagehelper.Page;
import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.Setmeal;

import java.util.List;
import java.util.Map;

public interface SetmealService {

    public Result add(Integer []checkgroupIds,Setmeal setmeal);

    public PageResult findPage(QueryPageBean queryPageBean);


    // ---------------用户端-----------------
    public Result getSetmeal();

    public Result findById(Integer id);

    public PageResult getPageSetmeal(Integer start,Integer pageSize);

    public List<Map<String, Object>> findSetmealIncome(Map<String, String> map);
}
